package com.cykj.pos.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author SunJinDuo
 * @date 2022/7/19
 */
@Data
public class BizTransactionAmountEntity {

    private Long id;
    /*系统日期*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date hostDate;
    /*系统时间*/
    private String hostTime;
    /*系统商户号*/
    private String merchantNo;
    /*系统终端号*/
    private String terminalNo;
    /*交易卡号(脱敏)*/
    private String pan;
    /*交易金额（元）*/
    private Double amnount;
    /*交易手续费（元）*/
    private Double addiAmount;
    /*手续费名称*/
    private String feeName;
    /*卡类型(注1)*/
    private int cardType;
    /*交易编码(注2)*/
    private int transType;
    /*输入方式(注3)*/
    private String enterMode;
    /*SN*/
    private String posSn;
    /*POS流水号*/
    private String posTrace;
    /*渠道交易日期*/
    private String chlDate;
    /*渠道交易时间*/
    private String chlTime;
    /*渠道商户号*/
    private String chlMerchantNo;
    /*渠道终端号*/
    private String chlTerminalNo;
    /* 参考号*/
    private String retrirefnum;
    /* 授权码*/
    private String authCode;
    /*交易状态(注4)*/
    private String hostRetCode;
    /*清算状态(注4)*/
    private String acqRetCode;
    /*银行代码*/
    private String bankCode;
    /*入账人身份证（脱敏）*/
    private String acqCertificate;
    /*扫码商户号*/
    private String scanMerchantNo;
    /*入账人*/
    private String acqName;
    /*入账卡号（脱敏）*/
    private String acqAccountNo;
    /*扫码门店号*/
    private String scanMchId;
    /*订单编号*/
    private String orderNo;
    /*平台订单编号*/
    private String platformNo;
    private String uuid;
    /* 是否偷单标识 */
    private int whetherSteal;
    /* 商户parentId */
    private Long parentId;
    /* 流量费收取金额 */
    private int simAmt;
    /* 流量费收取 */
    private int tranSim;
    private Long merchId;
    private String tableName;
    /*是否特殊*/
    private Integer isSpecial;
    /*原费率名称*/
    private String oldFeeName;
    /*原手续费*/
    private String oldSimAmt;
    //原费率
    private String actualFeeName;
    //原手续费
    private String actualAddiAmount;
    //静默数据类型
    private String silenceType;
    //是否是二次更新处理
    private String isSecondExecute;
    @TableField(exist = false)
    private String transUuid;
}
